package com.youlai.boot.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.boot.system.model.entity.Order;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.query.OrderQuery;
import com.youlai.boot.system.model.vo.OrderVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 订单管理Mapper接口
 *
 * @author zhangyurun
 * @since 2025-03-20 20:33
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {

    /**
     * 获取订单管理分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return
     */
    Page<OrderVO> getOrderPage(Page<OrderVO> page, OrderQuery queryParams);

}
